﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.M.Materiel.Infrastruecure.DTO;

namespace W.M.Materiel.Application.DTO
{
    public class BOM_TableDTO
    {
        /// <summary>
        /// BOM编号
        /// </summary>
        public string bom_number { get; set; }

        /// <summary>
        /// BOM主题
        /// </summary>
        public string? bom_topic { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        public string? version_number { get; set; }

        /// <summary>
        /// 成品编号
        /// </summary>
        public string? finished_number { get; set; }

        /// <summary>
        /// 成品名称
        /// </summary>
        public string? name_finished_product { get; set; }

        ///// <summary>
        ///// 规格型号
        ///// </summary>
        //[SugarColumn(ColumnDescription = "规格型号", Length = 200)]
        //public string? specification_and_model { get; set; }

        /// <summary>
        /// 成品类型
        /// </summary>
        public string? type_finished_product { get; set; }

        ///// <summary>
        ///// 单位
        ///// </summary>
        //[SugarColumn(ColumnDescription = "单位", Length = 200)]
        //public string? unit { get; set; }

        /// <summary>
        /// 默认BOM
        /// </summary>
        public bool default_bom { get; set; }

        /// <summary>
        /// 小时产量
        /// </summary>
        public int daily_output { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? remark { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string? product_number { get; set; }

        /// <summary>
        /// 物料信息
        /// </summary>
        public List<Bill_of_materialsDTO>? Bill_of_materialsDTO { get; set; }

        /// <summary>
        /// 工艺流程信息
        /// </summary>
        public List<prcessDTO>? prcessDTO { get; set; }
    }

}
